gdk: Add event constructors
authorMatthias Clasen <mclasen@redhat.com>
Fri, 14 Feb 2020 13:09:59 +0000 (08:09 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Feb 2020 05:39:12 +0000 (00:39 -0500)
commit67035d2e355c193883eedef8c4b568051ea92ce4
tree4a2591516a5d0d9442a79433bd86a50ec095e95b
parent9330158f11df481291ed3eab57af8c0d7dc28104
gdk: Add event constructors

Add private API to construct events. This is a step towards
making events readonly, and not objects anymore.

The constructors here are sufficient to convert the Wayland
backend over. More may be added for other backends as needed.

Open issues:
 - history
gdk/gdkevents.c
gdk/gdkeventsprivate.h